HaruImage
PHP Manual

HaruImage::getBitsPerComponent

(PECL haru >= 0.0.1)

HaruImage::getBitsPerComponentGet the number of bits used to describe each color component of the image

Descripción

int HaruImage::getBitsPerComponent ( void )

Gets the number of bits used to describe each color component of the image.

Lista de parámetros

This function has no parameters.

Valores retornados

Returns the number of bits used to describe each color component of the image.

Errors/Exceptions

Throws a HaruException on error.


HaruImage
PHP Manual